import game from '@/assets/imgs/aside-img/game.png'
import type { RouteRecordRaw } from 'vue-router'

export default <RouteRecordRaw> {
  path: '/games',
  component: () => import('@/layout/index.vue'),
  meta: {
    title: '游戏',
    icon: game,
    index: 2
  },
  children: [{
    path: 'snake',
    component: () => import('@/views/games/snake/index.vue'),
    meta: { title: '贪吃蛇' }
  }]
}